package com.qianfeng.goods.service;

import java.util.List;

import com.qianfeng.goods.bean.TypeBean;
import com.qianfeng.goods.mapper.TypeMapper;
import com.qianfeng.utils.DBUtils;

public class TypeService {

	// 获取所有的商品分类
	public List<TypeBean> getListAll() {
		TypeMapper typeMapper = DBUtils.getMapper(TypeMapper.class);
		List<TypeBean> list = typeMapper.getListAll();
		DBUtils.release();
		return list;
	}
}
